<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<table border="1">
    {%for book in list%}
    <tr><td><a href="{{book.id}}">{{book.btitle}}</a></td></tr>
    {%endfor%}
</table>
</body>
</html>